package net.suncapper.wcss.model.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 衣服款式表
 * </p>
 *
 * @author ztr
 * @since 2025-11-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("wcss_product")
@ApiModel(value="Product对象", description="衣服款式表")
public class Product implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

        @ApiModelProperty(value = "商品名称")
    @TableField("NAME")
    private String name;

        @ApiModelProperty(value = "商品编码")
    @TableField("product_number")
    private String productNumber;

        @ApiModelProperty(value = "商品批次")
    @TableField("batch_id")
    private Long batchId;

        @ApiModelProperty(value = "男、女（数据字典）")
    @TableField("gender")
    private String gender;

        @ApiModelProperty(value = "商品描述")
    @TableField("description")
    private String description;

        @ApiModelProperty(value = "是否删除")
    @TableField("is_deleted")
        @TableLogic
    private Boolean deleted;

        @ApiModelProperty(value = "创建时间")
    @TableField("gmt_created")
    private LocalDateTime gmtCreated;

        @ApiModelProperty(value = "更新时间")
    @TableField("gmt_modified")
    private LocalDateTime gmtModified;


}
